package com.zhangxi.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangxi
 * @create 2024-04-21 17:16
 */
@Data
@ApiModel(description = "新增分类模型")
public class CategoryDTO implements Serializable {

    @ApiModelProperty("id序号")
    private Long id;
    @ApiModelProperty("分类名称")
    private String name;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("分类类型")
    private Integer type;
}
